#!/bin/sh

for var in *.JPG
do
	mv "${var}" "${var%JPG}jpg"
done

grep -v "^#" /etc/passwd |\
while  read i 
do
	echo ${i%%:*}
done

if [ $VAR = "blah" ]
then
	echo "oh yeah!"
elif [ $VAR = "blahblah" ]
then
	echo "oh my god"
else
	echo "Thanks!"
fi

case $VAR in
	start)
		echo "all right, start"
	;;
	restart | reload)
		echo "stop, then stop"
	;;
	*)
		echo "hehe, typos. Usage is ..."
	;;
esac

